@import "./common.less";

html,
body {
    width: 100%;
    height: 100%;
    min-width: 360px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

#app {
    width: 100%;
    height: 100%;
}

.scroll_main {
    height: 100vh;
    overflow: auto;
}

.div_content {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.flex1 {
    flex: 1; /* 控制 flex 项目（子元素）如何分配父容器的剩余空间 */
}

.el-main {
    --el-main-padding: 0 !important;
}

.el-card__header {
    padding: 10px !important;
}
.el-card__body {
    padding: 10px !important;
}
.el-card__footer {
    padding: 10px !important;
}

.el-carousel__item {
    height: auto !important; /* 使用 !important 来确保优先级 */
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    justify-content: center;
    background-color: #fff;
    z-index: 10;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

/* debug 使用 */
.border-red {
    border: 1px #ff0000 solid;
}
.border-green {
    border: 1px #00ff00 solid;
}
.border-blue {
    border: 1px #0000ff solid;
}
